]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Clear modifiers when the layout is rebuilt
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 10 Sep 2026 12:21:36 +0000 (14:21 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 13 Sep 2026 17:39:10 +0000 (19:39 +0200)
commit61b16d4124d2d15e5bf98f5bcebbecedf9d28c96
treeb829db1909527326c1dd6d6c4c263bc0862c066a
parentac2fb580fee9adf966d2ba3195e7cf067ac2eada
keyboard: Clear modifiers when the layout is rebuilt

The modifiers and the modifier keys are not cleared when the layout is
rebuilt, and this may cause access to destroyed objects.

So clear them before rebuilding them again when adding the row keys.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/work_items/9408
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4396>
(cherry picked from commit 7d8323abb81215dc96f716fd66cad42772993685)
js/ui/keyboard.js